<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
<?php $xwb_statType = 'fw';
$xwb_statArgs = array('uid' => (XWB_plugin::getBindInfo("sina_uid")));
$statImgSrc = XWB_plugin::statUrl($xwb_statType, $xwb_statArgs, false, false);
$_lang_xwb_forward = XWB_plugin::L('xwb_forward');?><?php
$return = <<<EOF

<a href="{$link}" onclick="setTimeout('forstat()', 0);"><i><img src="{$this->xwb_p_rootname}/images/bgimg/icon_logo.png" />{$_lang_xwb_forward}</i></a>
         <img id="statimg" style="display:none;" />
         <script type="text/javascript">
            function forstat(){
                var statimg = document.getElementById("statimg");
                statimg.src = "{$statImgSrc}" + "&random=" + Math.round(Math.random()*1000000);
            }
            if(window.jQuery && jQuery.fn.lazyload){
                jQuery(function(){
                    document.getElementById("statimg").style.display = "none";
                });
            }
         </script>

EOF;
?>